Adventures in Associative-commutative Uniication

نویسندگان

  • Patrick Lincoln
  • Jim Christian
چکیده

We have discovered an eecient algorithm for matching and uniication in associative-commutative (AC) and associative-commutative-idempotent (ACI) equational theories. In most cases of AC uniication and in all cases of ACI uniication our method obviates the need for solving diophantine equations, and thus avoids one of the bottlenecks of other associative-commutative uniication techniques. The algorithm eeciently utilizes powerful constraints to eliminate much of the search involved in generating valid substitutions. Moreover, it is able to generate solutions lazily, enabling its use in an SLD-resolution-based environment like Prolog. We have found the method to run much faster and use less space than other associative-commutative uniication procedures on many commonly encountered AC problems.

منابع مشابه

Adventures in Associative-Commutative Unification

We have discovered an eecient algorithm for matching and uniication in associa-tive-commutative (AC) equational theories. In most cases of AC uniication our method obviates the need for solving diophantine equations, and thus avoids one of the bottlenecks of other associative-commutative uniication techniques. The algorithm eeciently utilizes powerful constraints to eliminate much of the search...

متن کامل

Double - Exponential Complexity

A new algorithm for computing a complete set of uniiers for two terms involving associative-commutative function symbols is presented. The algorithm is based on a non-deterministic algorithm given by the authors in 1986 to show the NP-completeness of associative-commutative uniiability. The algorithm is easy to understand, its termination can be easily established. More importantly, its complex...

متن کامل

Complexity of Associative-commutative Unification Check and Related Problems *

The uniication problem for terms containing associative and commutative functions is of great importance in theorem provers based on term rewriting and resolution methods as well as in logic programming. The complexity of determining whether two such terms are uniiable was known to be NP-hard. It is proved that the problem is NP-complete by describing a nondeterministic polynomial time algorith...

متن کامل

Any Ground Associative-commutative Theory Has a Nite Canonical System

We show that theories presented by a set of ground equations with several associative-commutative (AC) symbols always admit a nite canonical system. This result is obtained through the construction of a reduction ordering which is AC-compatible and total on the set of congruence classes generated by the associativity and commutativity axioms. As far as we know, this is the rst ordering with suc...

متن کامل

Associative-commutative Deduction with Constraints Associative-commutative Deduction with Constraints

Associative-commutative equational reasoning is known to be highly complex for theorem proving. Hence, it is very important to focus deduction by adding constraints, such as uniication and ordering, and to deene eecient strategies, such as the basic requirements a la Hullot. Constraints are formulas used for pruning the set of ground instances of clauses deduced by a theorem prover. We propose ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

متن کامل
عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994